package com.xmg.p2p.business.mapper;

import com.xmg.p2p.business.domain.PaymentSchedule;
import com.xmg.p2p.business.query.PaymentScheduleQueryObject;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @BelongsProject: jinrong-website
 * @BelongsPackage: com.xmg.p2p.business.mapper
 * @author: Andy
 * @date: 2021.4.15 14:41
 * @Description:
 * @since JDK 1.8
 */
@Repository
public interface PaymentScheduleMapper {

    int insert(PaymentSchedule record);

    PaymentSchedule selectByPrimaryKey(Long id);

    int updateByPrimaryKey(PaymentSchedule record);

    //分页操作
    int queryForCount(PaymentScheduleQueryObject qo);

    List<PaymentSchedule> query(PaymentScheduleQueryObject qo);
}
